<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<%@ include file="/common/meta.jsp"%>
		<link rel="stylesheet" type="text/css" href="${ctx}/resource/css/crud.css" />
		<script src="${ctx}/resource/js/jquery-1.4.2.min.js" type="text/javascript"></script>
		<script src="${ctx}/resource/js/CRUDSupport.js" type="text/javascript"></script>
	</head>
	<body>
		<form id="crudForm" action="${ctx}/administrate/role!save.action" method="post">
			<div class="title">
				<s:if test="id == null">创建</s:if><s:else>修改</s:else>角色
			</div>
			<input type="hidden" name="id" value="${id}" />
			<table class="inputTable">
				<tr>
					<td width="80">角色：</td>
					<td><input type="text" name="name" value="${name} " /></td>
				</tr>			
			</table>
			<div style="margin-left:70px;margin-top: 20px">
				<input type="submit" value="提交" class="btnBack" />
				<input class="button" type="button" value="返回" onclick="history.back()" style="margin-left: 20px"/>
			</div>
		</form>

	</body>
</html>